package cn.jieruoda.eb.user.domain.repository;

import cn.jieruoda.eb.user.domain.entity.UserIntegralRecord;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserIntegralRecordRepository extends JpaRepository<UserIntegralRecord, Integer> {
    List<UserIntegralRecord> findByUidAndStatus(Integer uid, Boolean status);
    List<UserIntegralRecord> findByUidAndType(Integer uid, Integer type);
    List<UserIntegralRecord> findByUidAndLinkTypeAndLinkId(Integer uid, String linkType, String linkId);
} 